package com.sc.nft.enums;

public enum IdCardIsPassTypeEnum {

    NO_APPLY(0,"未申请"),
    SUCCESS(1,"成功"),
    UNDER_REVIEW(2,"审核中"),
    AUDIT_FAILIRE(3,"审核失败")

    ;



    private Integer _code;
    private String _name;


    IdCardIsPassTypeEnum(Integer code, String name) {
        this._code = code;
        this._name = name;
    }

    public Integer getCode() {
        return _code;
    }

    public String getName() {
        return _name;
    }


    public static String getValue(Integer code) {
        IdCardIsPassTypeEnum[] values = values();
        for (IdCardIsPassTypeEnum v : values) {
            if (v.getCode().equals(code)) {
                return v.getName();
            }
        }
        return null;
    }
}
